﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Nop.Web.Framework.Mvc;
using FluentValidation.Attributes;
using Nop.Web.Framework;
using System.Web.Mvc;
using Nop.Admin.Validators.Customers;

namespace Nop.Admin.Models.Customers
{
    [Validator(typeof(MerchantApplyValidator))]
    public class MerchantApplyModel : BaseNopEntityModel
    {

        public MerchantApplyModel()
        {
            MerAppModel = new Core.Domain.Customers.MerchantApply();
        }

        [NopResourceDisplayName("MerchantApply.Fields.Name")]
        [AllowHtml]
        public string Name { get; set; }

        [NopResourceDisplayName("MerchantApply.Fields.Fzr")]
        [AllowHtml]
        public string Fzr { get; set; }

        [NopResourceDisplayName("MerchantApply.Fields.Phone")]
        [AllowHtml]
        public string Phone { get; set; }

        [NopResourceDisplayName("MerchantApply.Fields.Code")]
        [AllowHtml]
        public string Code { get; set; }
        [NopResourceDisplayName("MerchantApply.Fields.City")]
        [AllowHtml]
        public string City { get; set; }

        [NopResourceDisplayName("MerchantApply.Fields.Address")]
        [AllowHtml]
        public string Address { get; set; }

        [NopResourceDisplayName("MerchantApply.Fields.applyDate")]
        [AllowHtml]
        public DateTime applyDate { get; set; }

        [NopResourceDisplayName("MerchantApply.Fields.Audit")]
        [AllowHtml]
        public int Audit { get; set; }

        [NopResourceDisplayName("MerchantApply.Fields.AuditResult")]
        [AllowHtml]
        public int AuditResult { get; set; }

        [NopResourceDisplayName("MerchantApply.Fields.Remark")]
        [AllowHtml]
        public string Remark { get; set; }

        public Nop.Core.Domain.Customers.MerchantApply MerAppModel { get; set; }
    }
}